<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/3/8 0008
  Time: 上午 10:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>客户管理——修改页面</title>
</head>
<body>
    <h1>客户列表</h1>
    <form action="${pageContext.request.contextPath}/customer_update?id='${customer.name}'">
        <table>
            <tr>
                <th><input type="hidden" name="id" value="${customer.id}"/></th>
            </tr>
            <tr>
                <th>客户名称：</th>
                <th><input type="text" name="name" value="${customer.name}"/></th>
            </tr>
            <tr>
                <th>联系人：</th>
                <th><input type="text" name="contact" value="${customer.contact}"/></th>
            </tr>
            <tr>
                <th>电话号码：</th>
                <th><input type="text" name="telephone" value="${customer.telephone}"/></th>
            </tr>
            <tr>
                <th>邮箱地址：</th>
                <th><input type="text" name="email" value="${customer.email}"/></th>
            </tr>
            <tr>
                <th>备注：</th>
                <th><textarea name="remark" value="${customer.remark}"></textarea></th>
            </tr>
            <tr>
                <th>
                    <input type="submit" value="添加"/>
                </th>
            </tr>
        </table>
    </form>
</body>
</html>
